{% extends "base.html" %}

{% block title %}Email change - {{block.super}}{% endblock %}

{% block content %}

<h1>Email change</h1>
 	
{% if form %}
<p>
    You want to change your email address? Enter it here
    and we'll send you an activation email.
</p>
 	
 	<form action="" method="post" class="styled">
 	<table>
    {{ form }}
		<tr><td></td><td><input type="submit" value="Change Email" class="button" /></td></tr>
    </table>
 	</form>
{% else %}
<p>
    A confirmation link was sent to your new email address.
    Click it within the next {{expiration_days}} days to change
    your email address.
</p>
{% endif %}
{% endblock %}
 
